package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.SysPrintTemplete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 打印模板
 *
 * @author
 * @email
 * @date 2020-06-17 10:27:52
 */
@Mapper
public interface SysPrintTempleteDao {

    int save(SysPrintTemplete sysPrintTemplete);

    int update(SysPrintTemplete sysPrintTemplete);

    int delete(String id);

    SysPrintTemplete findById(String id);

    SysPrintTemplete findByCode(@Param("code") String code);

    SysPrintTemplete findByName(@Param("name") String name);

    List<SysPrintTemplete> findAll(Map<String, Object> params);

}
